<?php
include_once "autoload.php";
$db = new Zend_Db_Adapter_Pdo_Mysql(array(
    'host' => 'localhost',
    'username' => 'root',
    'password' => '',
    'dbname' => 'gsb'
));

$query="select * from visiteur";
$data = $db->fetchAll($query,NULL,  Zend_Db::FETCH_OBJ);
$view = new Zend_View();
$view->addScriptPath('.');
$view->setEscape('htmlentities');
$view->setEncoding('ISO-8859-1');

$view->lesVisiteurs = $data;
echo $view->render('paginatorView01.php');
?>
